All Questions
Tagged with linux-kernelnetworking
106 questions
2votes
1answer
39views
Is it possible that multiple network interface (net_device) tied to a single physical adapter
I am new to the Linux kernel. Recently, I read some articles about Linux "network interface", understanding that it is a logical abstraction layer of the underlying physical adapter (NIC), ...
3votes
2answers
141views
USB to ethernet adapter not in lsusb (via thoundbolt port)
So I am having a strange problem. Short story is, I have a Lenovo monitor P32P-30 which has a USB to Ethernet adapter, so I connect my laptop (Yoga 71i 12700h) to this monitor via thunderbolt port, my ...
0votes
0answers
32views
Interest in High-Precision Linux Packet Replay Tool Using SO_TXTIME?
I’ve recently completed a thesis on developing a Linux-based Ethernet packet replay program that achieves high precision using the SO_TXTIME kernel option. This program is designed to replicate ...
0votes
0answers
84views
Why receiving TCP network packets require more memory bandwidth and CPU utilization than transmitting packets?
I am analyzing an ARM system with Linux kernel 5.15 running. I am running iperf3 to measure the network throughput between two ARM systems. Note that these are simulated systems and are loosely ...
0votes
0answers
126views
How to set EEE to tg3 driver so it would be enabled and active
I tried multiple things to have it enabled (via BIOS, kernel boot parameters, etc.). I'm using HP ML350p gen8 server. I managed to have it enabled but now I have it in status (eno1 is connected, eno2 ...
1vote
0answers
421views
libvirt.libvirtError: unsupported configuration: Emulator '/usr/bin/qemu-system-x86_64' does not support virt type 'kvm'
I am using ubuntu 20.04 krishna@krishna:~/veos-vm/images$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: ...
1vote
1answer
175views
Use parrent attribute "serial" in UDEV configuration to assign lan interface another name instead of relying on the mac address
Given this kernel problem awaiting to be fixed and that randomly assign mac address to this usb3 lan adapters: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each reboot ...
1vote
1answer
103views
How does Kernel Clock Rate matter in network emulation (by netem)?
I want to use network emulation (netem) on a PREEMPT-RT kernel to emulate latency and jitter down to 0.5 ms +- 10 %. Thus, I initially thought that I have to adapt the internal kernel clock rate to at ...
1vote
0answers
530views
Randomly Losing Network Connectivity "eno1: PCIe link lost, device now detached"
I'm running arch linux kernel 6.6.8-arch1-1 and I lose internet connectivity seemingly randomly (every few days). I don't know of any way to successfully restore network connectivity other than ...
0votes
1answer
752views
Linux: Getting the kernel buffer size for a socket
I have a C application which receives a lot of data over a TCP socket. Is it somehow possible to get the kernel buffer size for that file descriptor / socket? I would like to know how much data is ...
0votes
1answer
274views
CentOS Stream 9 image has predictable interface naming disabled
I'm using a qcow2 image from here. Note the net.ifnames=0 cat /proc/cmdline BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.14.0-366.el9.x86_64 root=UUID=<uuid> ro console=ttyS0,115200n8 no_timer_check ...
0votes
0answers
1kviews
Network bridge between Termux and Alpine Linux QEMU
I have an Android phone with Termux. Using Termux I downloaded Alpine Linux x86 QEMU. The problem: Other devices on the network cannot ping and communicate with the Alpine Linux QEMU. So that's why I ...
1vote
1answer
633views
How to configure connmand to not to add the unnecessary route with IP 0.0.0.0 and GW 0.0.0.0
The below route is sticky, even if manually deleted, it gets added by connmand (Connection Manager Daemon) with another interface name. If the specific interface is made down using ip link cmd, I see ...
0votes
1answer
642views
What's the difference between IP forwarding via /etc/sysctl.conf and /proc/sys/net/ipv4/ip_forward? [duplicate]
I've only used /proc/sys/net/ipv4/ip_forward to enable/disable IP forwarding so far. However, I recently came across a video where the author uses /etc/sysctl.conf to enable IP forwarding. Did he do ...
1vote
1answer
467views
iptables recent --mask not working
when I add following rule to iptables, everything works as expected. The offending IP is added to BLACKLIST and dropped. iptables -A INPUT -m recent --rsource --name BLACKLIST --update -j DROP when I ...